<%@ page contentType="text/html;charset=UTF-8" %>
 <script type="text/javascript">
    // 页面加载完成后执行
    $(document).ready(function() {
    	order.detail.init();
    });
</script>
<style>
 .pop_win tr td.table_left{ background:#dcdcdc;width:150px;text-align:right;border-top:1px solid #dcdcdc;border-left:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc;font-size:14px;color:#6b707a;}
 .pop_win tr td.table_left span {color:#cc324b;margin-right:10px;}
 .pop_win tr td.table_left p {font-size:12px;color:#f76a3f;margin:5px 12px 0 0;}
 .pop_win tr td.table_empty{height:4px;}
 .pop_win tr td.table_right{width:300px;border:1px solid #c5c5c5;font-size:16px;color:#6b707a;}
 .pop_win tr td.table_right input[type=text],input[type=password]{font-size: 16px;width: 100%;}
 
 a.l-btn span.l-btn-left {
    background-image: url(images/linkbutton_bg.png);
    background-repeat: no-repeat;
    background: #F4F4F4;
    color: #000;
 }
</style>
<div style="margin-top:5px;">
    <div id="tagContent1" class="">
    	<!-- 隐藏域 -->
    	<input type="hidden" id="mode" name="mode" value="${mode}" />
    	<input type="hidden" id="order_id" name="order_id" value="${order_id}" />
		<form id="orderUpdateForm" method="post" style="padding-left: 5px; width:98%">
			<div id="basePanel" class="easyui-panel" title="基本信息" style="height:245px;">
				<table class="pop_win" style="width: 100%;">
					<!-- 资源标题 -->
					<tr>
						<td class="table_left"  height="30px"><span>*</span>订单名称：</td>
						<td class="table_right" colspan="4" >
							<input class="easyui-textbox" id="order_name_d" name="order_name_d" data-options="required:true, missingMessage:'请输入订单名称!'" style="width:100%;font-size:16px;" maxlength="50">
		 				</td>
					</tr>
					<tr>
						<td class="table_empty"></td>
					</tr>
					<tr>
						<td class="table_left"  height="30px"><span>*</span>订单总金额(人民币):</td>
						<td class="table_right" colspan="2" >
							<input class="easyui-numberbox" id="total_price" name="total_price" data-options="required:true, validType: 'naturalNumber', missingMessage:'请输入订单总金额!'" style="width:100%;height:30px;font-size:16px;" value="0"/>
		 				</td>
						<td class="table_left"  height="30px">订单总金额(日元):</td>
						<td class="table_right" colspan="2" >
							<input class="easyui-numberbox" id="total_price_jp" name="total_price_jp" style="width:100%;font-size:16px;" value="0" maxlength="15">
		 				</td>
					</tr>
					<tr>
						<td class="table_empty"></td>
					</tr>
					<tr>
					<td class="table_left"  height="30px">国内运费:</td>
						<td class="table_right" colspan="2" >
							<input class="easyui-numberbox" id="freight" name="freightName" data-options="validType: 'naturalNumber'" style="width:100%;height:30px;font-size:16px;" value="0"/>
		 				</td>
						<td class="table_left" height="30px"><span>*</span>商品总件数： </td>
						<td class="table_right" colspan="2">
							<input class="easyui-numberbox" id="total_cnt" name="total_cnt" disabled="disabled" style="width:100%;height:30px;font-size:16px;" value="0">
						</td>
					</tr>
					<tr>
						<td class="table_empty"></td>
					</tr>
					<tr>
						<td class="table_left"  height="30px">收货人姓名:</td>
						<td class="table_right" colspan="2" >
							<input type='hidden' id="address_id" name="address_id" /> 
							<input class="easyui-textbox" id="user_name" name="user_name" style="width:100%;height:30px;font-size:16px;" maxlength="20"/>
		 				</td>
		 				<td>
		 					<div class="data_button">
		 						<input type="button" value="选择地址" class="button_select" onclick="order.detail.choose()" />
		 					</div>
		 				</td>
					</tr>
					<tr>
						<td class="table_empty"></td>
					</tr>
					<tr>
						<td class="table_left"  height="30px">TEL(手机号):</td>
						<td class="table_right" colspan="2" >
							<input class="easyui-textbox" id="tel_phone" name="tel_phone" style="width:100%;font-size:16px;" maxlength="11">
		 				</td>
		 				<td class="table_left" height="30px">邮政编码:</td>
						<td class="table_right" colspan="2">
							<input class="easyui-textbox" id="post_code" name="post_code" style="width:100%;height:30px;font-size:16px;" maxlength="6">
						</td>
					</tr>
					<tr>
						<td class="table_empty"></td>
					</tr>
					<tr>
						<td class="table_left" height="30px">收货地址:</td>
						<td class="table_right" colspan="4">
							<input class="easyui-textbox" id="address" name="address" style="width:100%;height:30px;font-size:16px;" maxlength="50">
						</td>
					</tr>
					<tr>
						<td class="table_empty"></td>
					</tr>
				</table>
			</div>
			
			<div id="orderDetailGridArea" style="height: 100%;padding-top: 8px">
					<table id="orderDetailGrid"></table>
			</div>
		</form>
       
	</div>
	<div class="pop_button" id="bottomButtonDiv">
        <input type="button" class="pup_button01" value="保存" id="saveButton"
            onclick="order.detail.save()" />
        <input type="button" class="pup_button01" value="关闭" id="close"
            onclick="order.detail.close()" />
    </div>
</div>
<!-- 弹出窗end  -->

